<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> 
<head>
	<title></title>
	<link rel="stylesheet" href="css/reset.css" />
	<link rel="stylesheet" href="css/layout.css" />
	<link rel="stylesheet" href="css/box.css" />
	<link rel="stylesheet" href="css/style.css" />
	<base target="_top" />
</head>
<body>
	<div id="header">
		<div class="layout grid-m">
			<div class="col-main">
				<ul class="top_nav">
					<li class="icon phone"><a href="http://r.5iwords.com/version/5iwords.apk">手机</a></li>
					<li class="icon home"><a href="sysLib?action=list">我要背单词</a></li>
                                        <li class="icon home"><a href="help.html">帮助</a></li>
				</ul>
				<ul class="top_access">
				<c:if test="${empty user}">
					<li class="login_access"><a href="login.jsp">登录</a></li>
					<li class="register_access"><a href="register.jsp">注册</a></li>
					</c:if>
					<c:if test="${!empty user}">
					<li class="username">欢迎您，<span>${user.nickname}</span></li>
					<li class="userinfor"><a href="user?action=account">基本信息</a></li>
					<li class="exit"><a href="user?action=logout">退出</a></li>
					</c:if>
				</ul>
			</div>
		</div>
		<div class="layout grid-m">
			<div class="col-main">
				<a class="site_logo" href="index">爱词,让你爱上单词</a>
			</div>
		</div>
		
	</div>
</body>
</html>